1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


I-360 If you have a lot of memory and a fairly busy network, you can specify the maximum amount of memory NetBT allocates to store all outgoing datagrams. If you fill up the allocated memory, any other attempt to send fails.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: MaxDgramBuffering
Data Type: REG_DWORD
Value: 0x20000

The default is 128K. Restart the machine for any changes to take effect.

I-361 If you have broadcast storms on your network or just are looking for ways to reduce network traffic, try changing these registry entries:

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: BcastNameQueryCount
Data Type: REG_DWORD
Value: 3

I-362 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: NodeType
Data Type: REG_DWORD
Value: 1 or 8 (default)

This value determines the way NetBT registers and resolves names. Valid values and their meanings are listed below.

Value Node-Type Description
1 b-node Uses broadcasts only
2 p-node Uses point-to-point name queries to a WINS server
4 m-node Broadcasts first, then queries the name server
8 h-node Queries the name server first, then broadcasts

Restart your system for any changes to take effect.

I-363 This value limits the number of times NetBT broadcasts a query for a name without receiving a response. Adjusting this value can have a significant effect on the number of broadcasts on your system.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: BcastQueryTimeout
Data Type: REG_DWORD
Value: 0x2ee

This value is the interval in milliseconds between broadcasts. The default value is 0x2ee, or 750 decimal. If you make any changes to these values, restart your computer.

I-364 If you have a particularly large Lmhosts file and your DNS requests take too long, you can speed up your Lmhosts requests by changing this registry value.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: LmhostsTimeout
Data Type: REG_DWORD
Value: 6000

The value is the time, in milliseconds, that elapses before a DNS query of Lmhosts times out.

I-365 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: CacheTimeout
Data Type: REG_DWORD
Value: 0x927c0

This value is the time, in milliseconds, that names are cached in the remote name table. The default is 0x927c0 milliseconds, or 600,000 decimal.

I-366 If you use WINS and have problems changing IP addresses for certain machines, you may want to check the following registry value.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: EnableProxyRegCheck
Data Type: REG_DWORD
Value: 0 (default)

Setting this value to 1 tells the proxy name server to send a negative response to any broadcast name registration when that name is already registered with WINS or is in the proxy’s local name cache with a different IP address. Setting this value back to 0 lets you change IP addresses again.

I-367 If you use a service other than WINS to give you name service information, you can tell NetBT to use it instead of WINS. This registry entry specifies which port NetBT uses. The default is 89, which is the port that the Microsoft WINS Server listens on.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: NameServerPort
Data Type: REG_DWORD
Value: 0x89

Restart your machine for any changes to take effect.

I-368 If WINS name registration takes too long, use this registry value to speed up the interval at which WINS name registration takes place. When it initially registers names, WINS calculates 1/8th of this value and contacts the name server then. After a name is successfully registered, WINS sends a response to the client with the new refresh interval.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: InitialRefreshTimeout
Data Type: REG_DWORD
Value: 960000

Restart WINS for any changes to take effect.


Previous Table of Contents Next